section {
    height: 60px;
    border: 1px solid darkcyan;
    padding: 5px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 9fr 1fr;
    align-items: center;
}

input {
    outline: none;
    padding: 5px;
    min-width: 200px;
    box-sizing: border-box;
    border: 2px solid darkgray;
}

main {
    border: 1px solid darkcyan;
    padding: 5px;
    min-height: 600px;
    display: grid;
    grid-template-rows: 50px 1fr;
}

main div {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}




body {
    font-size: 12px;
}


button {
    padding: 7px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}



table {
    width: 80%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

caption {
    margin: 10px;
    font-size: 20px;
    color: darkgreen
}


article {
    display: none;
}

@media print {

    body>div,
    section,
    main {
        display: none;
    }

    * {
        margin: 0;
    }

    body>article {
        display: flex !important;
        justify-content: center;

    }


    @page {

        size: A5 landscape;
        margin: 1cm;
    }

    table {
        width: 95%;
        border-collapse: collapse;

    }

    th,
    td {

        padding: 8px;
        border: 1px solid black;
        text-align: center;
        font-size: 10px;

    }

    caption{
        color: black;
        font-size: 25px;
    }



}